    CREATE [ OR REPLACE ]
       TYPE [ schema. ]type_name
       [ OID 'object_identifier' ]
       [ invoker_rights_clause ]
       { { IS | AS } OBJECT
       | UNDER [schema.]supertype
       }
       [ sqlj_object_type ]
       [ ( attribute datatype
           [ sqlj_object_type_attr ]
           [, attribute datatype
              [ sqlj_object_type_attr ]...
           [, element_spec
              [, element_spec ]...
           ]
         )
       ]
       [ [ NOT ] FINAL ]
       [ [ NOT ] INSTANTIABLE ] ;